from PyQt5.QtWidgets import QApplication, QPushButton
import qtawesome as qta
import sys

if __name__ == "__main__":
    app = QApplication(sys.argv)

    btn = QPushButton("确定")
    btn.setIcon(qta.icon('fa5.flag', color='red', scale_factor=1, rotation=45))
    btn.show()

    sys.exit(app.exec_())